<?php
include("config/connect.php");
include("public/common.php");
$tb_id = CheckUrlParamNoDie("tb_id");

if( $tb_id == "" )
{
	echo 0;
}
else
{
	$sql = "select tb_id from user where tb_id='$tb_id' limit 1";
	$result = mysql_query( $sql );
	$row_num = mysql_num_rows( $result );
	echo $row_num;
}

?>